<?php $this->render("theader.php");?>

<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
var currentUid = <?php echo $this->uinfo['uid'];?>;
var currentMid = <?php echo $this->minfo['mid'];?>;
var currentUrl = '<?php echo $this->fullUrl . '/' . $this->minfo['domain'];?>';
var plan = '<?php echo $this->plan;?>';
</script>

<?php if ($this->plan != 'en'){?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">欢迎您，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain']);?>" class="login_out f_r head_bg">注销</a>              
              <div class="clear"></div>
              <?php $arr_status = array('未提交', "待审核", "通过审核", "未通过审核", "最终确认");?>
              <div class=""><span class="c_gray6">状态：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>" class="selected">修改密码</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>">修改会议平台统一身份认证信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">填写/修改会议注册信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>">上传文件管理</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
        
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['name'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="minheight">
            	<h2 class="h2_title">修改密码 <span class="c_gray6 span_font">( <span class="c_red">*</span> 为必填项 )</span></h2>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
                  <tr>
                    <th><span class="c_red">*</span> E-mail：</th>
                    <td><input name="email" id="email" value="<?php echo $this->uinfo['email'];?>" readonly="readonly" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 原始密码：</th>
                    <td><input name="oldpassword" id="oldpassword" value="" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 新密码：</th>
                    <td><input name="password" id="password" value="" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 确认密码：</th>
                    <td><input name="password2" id="password2" value="" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th></th>
                    <td><input name="btn_chgpwd" id="btn_chgpwd" type="button" value="提 交" class="btn_blue30 line_bg_all" onclick="javascript:return doChangePwd();" /></td>
                  </tr>
                </table>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="js/user_reg.js"></script>

</body>
</html>


<?php }else{?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">Welcome，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain'] . '?lan=en');?>" class="login_out f_r head_bg">Logout</a>              
              <div class="clear"></div>
              <?php $arr_status = array('To Be Submitted', "To Be Verified", "Already Verified", "Not Passed", "Finally Confirmed");?>
              <div class=""><span class="c_gray6">Status：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
            	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>" class="selected">Modify Password</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>">Modify Unified Identity Information of Platform</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">Fill in / Modify Conference Registration Information</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>">Uploaded File(s)</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
        
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['enname'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="minheight">
            	<h2 class="h2_title">Modify Password<span class="c_gray6 span_font">( <span class="c_red">*</span> is required. )</span></h2>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
                  <tr>
                    <th><span class="c_red">*</span> E-mail：</th>
                    <td><input name="email" id="email" value="<?php echo $this->uinfo['email'];?>" readonly="readonly" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Original Password：</th>
                    <td><input name="oldpassword" id="oldpassword" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> New Password：</th>
                    <td><input name="password" id="password" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Confirm Password：</th>
                    <td><input name="password2" id="password2" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th></th>
                    <td><input name="btn_chg_pwd" id="btn_chg_pwd" type="button" value="Submit" class="btn_blue30 line_bg_all"  onclick="javascript:return doChangePwd();"/></td>
                  </tr>
                </table>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker-en-GB.js"></script>
<script type="text/javascript" src="js/user_reg.js"></script>

</body>
</html>
<?php }?>
